Skip to main content

Get List Of Folders

AutomatR.Dropbox.Activities.GetListOfFolders

The "Get List Of Folders" activity in AutomatR is part of the Dropbox activities package, designed to retrieve the list of folders within a specified folder or root folder on a user's Dropbox account. This activity facilitates efficient management of folders and enables further automation workflows.

Properties

NameDescription
Input
Folder PathSpecifies the path of the folder in Dropbox for obtaining the list of folders within it. String variables containing the folder path.
Misc
Display NameThe display name of the activity. A display name is automatically generated when you indicate a target.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Get List Of Folders" activity. Integer variables containing the delay duration. Example: 5 seconds i.e. 5.
Output
ResultOutputs the list of folders with datatype metadata. Variables of relevant types (e.g., List<Metadata> ) to store the retrieved folders.

How to Use

  1. Drag and drop the "Get List Of Folders" activity onto the workflow.
  2. Configure the properties by specifying the folder path in Dropbox from which you want to obtain the list of folders.
  3. Optionally, configure the delay and customize the display name.
  4. Execute the workflow to retrieve the list of folders from the specified folder in Dropbox.

Example:

Consider an example where the "Get List Of Folders" activity is used to retrieve the list of folders from a root folder named "Projects" in Dropbox:

Get List Of Folders:
Display Name: "List Projects Folders"
Folder Path: "/Projects"
Response: listOfFolders

In this example, the activity retrieves the list of folders from the "/Projects" root folder in Dropbox, and the list of folders is stored in the variable "listOfFolders" for further processing in the workflow.

Important Notes:

  • Ensure that the activity is placed within a "Dropbox Scope" activity to establish the necessary authentication scope.
  • Verify that the specified folder path in Dropbox exists; otherwise, an exception will be thrown.